﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Himp.Outpatient.EntityFrameworkCore;

public class OutpatientHttpApiHostMigrationsDbContext : AbpDbContext<OutpatientHttpApiHostMigrationsDbContext>
{
    public OutpatientHttpApiHostMigrationsDbContext(DbContextOptions<OutpatientHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureOutpatient();
    }
}
